﻿/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
	  config.extraPlugins = "keyword,mailtemplates";
      config.toolbar = 'MyToolbar';
	  config.disableNativeSpellChecker = false;

	config.toolbar_MyToolbar =
	[
                { name: 'document', items : [ 'Source'] },
                { name: 'clipboard', items : [ 'PasteText' ] },
                { name: 'basicstyles', items : [ 'Bold','Italic','Underline' ] },
                { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight' ] },
                { name: 'insert', items : [ 'Image'] },
				{ name: 'links', items : [ 'Link','Unlink' ] },
				{ name: 'styles', items : [ 'Format','FontSize' ] }
	];

	config.toolbar_MailTemplate =
		[
	                { name: 'document', items : [ 'Source' ] },
	                { name: 'clipboard', items : [ 'PasteText' ] },
	                { name: 'basicstyles', items : [ 'Bold','Italic','Underline' ] },
	                { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight' ] },
	                { name: 'insert', items : [ 'Image'] },
					{ name: 'links', items : [ 'Link','Unlink' ] },
					{ name: 'styles', items : [ 'Format','FontSize' ] },
					{ name: 'keyword', items : ['keyword']}
		];

	config.toolbar_SupportTicketReply =
	[
         { name: 'document', items : [ 'Source' ] },
         { name: 'clipboard', items : [ 'PasteText' ] },
         { name: 'basicstyles', items : [ 'Bold','Italic','Underline' ] },
         { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight' ] },
         { name: 'insert', items : [ 'Image'] },
			{ name: 'links', items : [ 'Link','Unlink' ] },
			{ name: 'styles', items : [ 'Format','FontSize' ] },
			{ name: 'mailtemplates', items : ['mailtemplates']}
	];
};
